from ultralytics import YOLO
#加载模型
model = YOLO(model="D:/yolo11/ultralytics-main/ultralytics/weights/best.pt")
model.export(format="onnx")